{template 'web/common/common'}
{template 'web/system/navbar'}
<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">
            积分设置
        </h3>
    </div>

    <div class="panel-body">
        <form id="sign-form" class="form-horizontal" role="form" method="post" action="{url 'site/entry/system',array('m'=>'kundian_farm','op'=>'sign_save','version_id'=>$_GPC['version_id'])}" name="submit" style="padding: 20px 0;">
            <div class="form-group">
                <label for="sign_integral" class="col-sm-2 control-label">签到一次获取积分</label>
                <div class="col-sm-8">
                    <input type="number" class="form-control"  name="sign_integral" id="sign_integral" value="{$list['sign_integral']}">
                    <input type="hidden" name="id" value="{$list['id']}">
                </div>
            </div>

            <div class="form-group">
                <label for="sign_integral" class="col-sm-2 control-label">支付X元获取1积分</label>
                <div class="col-sm-8">
                    <input type="number" class="form-control"  name="pay_integral" id="pay_integral" value="{$list['pay_integral']}">
                </div>
            </div>

            <!--<div class="form-group">-->
                <!--<label  class="col-sm-2 control-label"></label>-->
                <!--<div class="col-sm-8">-->
                    <!--<span style="color: gray;">提示：如果想支付1元获得1积分，请填写1，</span>-->
                <!--</div>-->
            <!--</div>-->
            <div class="form-group">
                <label class="col-sm-2 control-label">积分详细说明</label>
                <div class="col-sm-8">
                    {php echo tpl_ueditor('sign_rule',$list['sign_rule']);}
                </div>
            </div>
            <div class="form-group">

                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-success">保存</button>
                    <!--<input type="submit" name="submit" class="btn btn-default">-->
                    <!--<a class="btn btn-default" href="{url 'site/entry/system',array('m'=>'kundian_farm')}">返回</a>-->
                </div>
            </div>
        </form>
    </div>
</div>
